package main.java.com.chegg.coursepicker.service;

import main.java.com.chegg.coursepicker.dao.UserDAO;

import java.sql.SQLException;
import java.util.List;

/**
 *
 *
 *
 */
public class UserService {

    public List<String> getRequiredCourses(int userId) throws ClassNotFoundException, SQLException {
        UserDAO userDAO = new UserDAO();
        return userDAO.getCourseDesc(userId);
    }
}
